import { PageContainer } from '@ant-design/pro-components';
import { useParams } from '@umijs/max';
import { Button } from 'antd';
import styles from './index.less';
import Page from '@/components/PageLayout';
const AccessPage: React.FC = () => {
  const params  = useParams();
  console.log(`params:`,params)
  return (
	<Page
	bgColor="#fff"
	header={<div>123</div>}
	content={
		<textarea autoFocus className={styles.textarea} style={{width:"100%", height: '100%' }}  name="" id=""></textarea>
	}
	footer={
		<div className={styles.footer}>
		<Button key="1" type="primary" danger>
			保存
		</Button>,
		<Button key="2" type="primary">
			保存并查看
		</Button>
		</div>
		}
	></Page>
  );
};

export default AccessPage;
